package com.thenmoret.admin.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.thenmoret.pojo.Type;
import com.thenmoret.service.ArticleService;
import com.thenmoret.service.TypeService;

@RequestMapping("/admin")
@Controller
public class AdminSkipController {

	@Autowired
	private ArticleService articleService;
	
	/**
	 * 后台主页的跳转
	 * @return
	 */
	@RequestMapping("/main")
	public String index()
	{
		return "/admin/main";
	}
	
	
}
